module.exports = {
    type: 'list',
    async fetch({
        args,
        page
    }) {
        let resp = await $http.get(`http://api.skyrj.com:80/Api2/Dy/GetVideoInfo?Id=${args.id}`)
        let list = resp.data.MoviePlayUrls
        let items = list.map(data => {

            return {
                title: data.Name,
                summary: data.chapterintro,
                route: $route('@video', {
                    url: data.PlayUrl
                 }),

            }



        })



      
        return {
            items: items
        }
    }
}